<extend name="Public/base" />
<block name="main">
	<div class="container-fluid">
		<div class="row">
			<div class="col-lg-12">
				<h1 class="page-header">班级学员列表</h1>
			</div>
			<!-- /.col-lg-12 -->
		</div>

		<div class="row">
			<div class="col-lg-12">
				<div class="panel panel-default">
					<div class="panel-heading">
						{$class[$id]['cname']} <br/>开课时间：{$class[$id]['ctime']|date="Y-m-d",###}<br/>剩余课时：{$class[$id]['cnum']-$class[$id]['crest']}
					</div>
				</div>
				<div class="panel-body">
					<div class="row">
						<div class="col-lg-12">
							<!-- /.row -->
							<div class="row">
								<div class="col-lg-12">
									<div class="panel panel-default">
										<!--
										<div class="panel-heading">
											DataTables Advanced Tables
										</div>
										-->
										<!-- /.panel-heading -->
										<div class="panel-body">
											<div class="dataTable_wrapper">
												<table class="table table-striped table-bordered table-hover" id="dataTables-example">
													<thead>
														<tr>
															<th>序号</th>
															<th>姓名</th>
															<th>入班时间</th>
															<th>操作</th>
														</tr>
													</thead>
													<tbody>
														<volist name="list" id="list">
														<tr class="gradeC">
															<td>{$key+1+$start}</td>
															<td>{$list['name']}</td>
															<th>{$list['stime'|date="Y-m-d",###]}</th>
															<td>
																<a href="{:U($controller.'/del',array('id'=>$list['cid']))}">删除</a>
																<a href="{:U('Student/edit',array('id'=>$list['ssid']))}">查看</a>
															</td>
														</tr>
														</volist>
														<tr>
															<td colspan="4"><div class="page">{$page}</div></td>
														</tr>
													</tbody>
												</table>
											</div>
										</div>
										<!-- /.panel-body -->
									</div>
									<!-- /.panel -->
								</div>
								<!-- /.col-lg-12 -->
							</div>
							<!-- /.row -->
						</div>
					</div>
				</div>
			</div>
			<!-- /.col-lg-12 -->
		</div>
		<!-- /.row -->
	</div>
</block>
